<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="keywords" content="vue基础教程" />
    <meta name="description" content="vue基础,教程,学习" />
    <meta name="author" content="zhangyuhan2016" />
    <meta name="robots" content="index,follow" />
    <meta name="google" content="index,follow" />
    <meta name="googlebot" content="index,follow" />
    <meta name="verify" content="index,follow" />
    <link rel="icon" href="favicon.ico">
    <title>config | Vue基础教程</title>
    <meta name="description" content="拓普-互联网事业部">
    
    
    <link rel="preload" href="/topvue/assets/css/0.styles.fbd04ff9.css" as="style"><link rel="preload" href="/topvue/assets/js/app.164ceef7.js" as="script"><link rel="preload" href="/topvue/assets/js/3.91f7b858.js" as="script"><link rel="preload" href="/topvue/assets/js/12.a353cdcc.js" as="script"><link rel="prefetch" href="/topvue/assets/js/1.79efd0ae.js"><link rel="prefetch" href="/topvue/assets/js/10.7e100378.js"><link rel="prefetch" href="/topvue/assets/js/11.5c1d04ec.js"><link rel="prefetch" href="/topvue/assets/js/13.d8c431af.js"><link rel="prefetch" href="/topvue/assets/js/14.befb2272.js"><link rel="prefetch" href="/topvue/assets/js/15.827a4ed6.js"><link rel="prefetch" href="/topvue/assets/js/16.aa7e4a47.js"><link rel="prefetch" href="/topvue/assets/js/17.f973e622.js"><link rel="prefetch" href="/topvue/assets/js/18.6991e38c.js"><link rel="prefetch" href="/topvue/assets/js/4.c50ebf11.js"><link rel="prefetch" href="/topvue/assets/js/5.be37c472.js"><link rel="prefetch" href="/topvue/assets/js/6.c7eb074a.js"><link rel="prefetch" href="/topvue/assets/js/7.c252fe47.js"><link rel="prefetch" href="/topvue/assets/js/8.10d63e91.js"><link rel="prefetch" href="/topvue/assets/js/9.bc9a0973.js">
    <link rel="stylesheet" href="/topvue/assets/css/0.styles.fbd04ff9.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/topvue/" class="home-link router-link-active"><!----> <span class="site-name">Vue基础教程</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://cn.vuejs.org/v2/guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  vue
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://cli.vuejs.org/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  vue@cli
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://router.vuejs.org/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  vue-router
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="https://cn.vuejs.org/v2/guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  vue
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://cli.vuejs.org/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  vue@cli
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://router.vuejs.org/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  vue-router
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <ul class="sidebar-links"><li><div class="sidebar-group first"><p class="sidebar-heading open"><span>基础</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/topvue/guide/" class="sidebar-link">安装</a></li><li><a href="/topvue/guide/vNew.html" class="sidebar-link">生命周期</a></li><li><a href="/topvue/guide/vD.html" class="sidebar-link">基础语法</a></li><li><a href="/topvue/guide/vC.html" class="sidebar-link">组件</a></li></ul></div></li></ul> </div> <div class="page"> <div class="content default"><h2 id="config"><a href="#config" aria-hidden="true" class="header-anchor">#</a> config</h2></div> <!----> <!----> </div></div><div class="global-ui"></div></div>
<script src="/topvue/assets/js/3.91f7b858.js" defer></script><script src="/topvue/assets/js/12.a353cdcc.js" defer></script><script src="/topvue/assets/js/app.164ceef7.js" defer></script>
</body>
</html>